/**
 * Pagination Component Styles
 * 
 * CSS Module for the pagination component.
 * Provides previous/next navigation.
 */

.pagination {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.paginationContainer {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pageButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #0070f3;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  min-width: fit-content;
}

.pageButton:hover:not(.disabled) {
  background: #0070f3;
  color: white;
  border-color: #0070f3;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 112, 243, 0.2);
}

.pageButton.disabled {
  background: #f5f5f5;
  color: #999;
  border-color: #eee;
  cursor: not-allowed;
}

.pageInfo {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.additionalInfo {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pagination {
    margin: 2rem 0;
  }

  .paginationContainer {
    gap: 1rem;
  }

  .pageButton {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .pageInfo {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .paginationContainer {
    gap: 0.5rem;
    width: 100%;
  }

  .pageButton {
    flex: 1;
    max-width: 120px;
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .pageInfo {
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
  }

  .additionalInfo {
    font-size: 0.8rem;
  }
}